package com.travel.service;

import com.itextpdf.text.Document;
import com.itextpdf.text.DocumentException;

import java.io.OutputStream;

/**
 * @author chendikai
 * @date 2024-07-09 17:33
 */
public interface PdfService {
    Document generateItextPdfDocument(OutputStream os, String orderId) throws Exception;

//    byte[] generatePdfAndConvertToImage(String userId) throws Exception;

//    byte[] generatePdfAndConvertToImages(String userId) throws Exception;

    byte[] generatePdfAndConvertToLongImage(String orderId) throws Exception;
}
